﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GoDive.Contract
{
    public class tdescomment
    {
        [Key]
        public long ID { get; set; }

        /// <summary>
        /// 关联目的地ID
        /// </summary>
        public long DestinationID { get; set; }

        [ForeignKey("UserID")]
        /// <summary>
        /// 区域信息
        /// </summary>
        public virtual tuser User { get; set; }

        /// <summary>
        /// 关联用户ID
        /// </summary>
        public long UserID { get; set; }

        /// <summary>
        /// 评分
        /// </summary>
        public int Score { get; set; }

        /// <summary>
        /// 评论内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 被赞数量
        /// </summary>
        public int? PariseCount { get; set; }

        /// <summary>
        /// 点评图片1
        /// </summary>
        public string Pic1 { get; set; }

        /// <summary>
        /// 点评图片2
        /// </summary>
        public string Pic2 { get; set; }

        /// <summary>
        /// 点评图片3
        /// </summary>
        public string Pic3 { get; set; }

        /// <summary>
        /// 点评图片4
        /// </summary>
        public string Pic4 { get; set; }

        /// <summary>
        /// 点评图片5
        /// </summary>
        public string Pic5 { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime DataChangeTime { get; set; }
    }
}